package com.jeecg.demo.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "V_ECP_USER")
public class VUser implements java.io.Serializable {

    // Fields

    private Long userid;
    private Long sysid;
    private String loginname;
    private String password;
    private String username;
    private String sex;
    private String roleid;
    private Long traderid;
    private String mobile;
    private String isvalid;
    private Long operator;
    private String certno;
    private String email;
    private Date lastlogin;
    private String iplimit;
    private String regsource;
    private String tradername;
    private String regioncode;
    private String rolename;
    private String tradertypeid;
    private Date regtime;
    private String industryid;
    private String usertype;
    private String userverifystatus;
    private String tradecode;
    private String openId;

    // Constructors

    /** default constructor */
    public VUser() {
    }

    @Id
    @Column(name = "USERID", nullable = false, scale = 0)
    public Long getUserid() {
        return this.userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    @Column(name = "SYSID", nullable = false, scale = 0)
    public Long getSysid() {
        return this.sysid;
    }

    public void setSysid(Long sysid) {
        this.sysid = sysid;
    }

    @Column(name = "LOGINNAME", nullable = false, length = 50)
    public String getLoginname() {
        return this.loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    @Column(name = "PASSWORD", nullable = false, length = 50)
    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Column(name = "USERNAME", length = 50)
    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Column(name = "SEX", length = 10)
    public String getSex() {
        return this.sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Column(name = "ROLEID", nullable = false, length = 200)
    public String getRoleid() {
        return this.roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    @Column(name = "TRADERID", scale = 0)
    public Long getTraderid() {
        return this.traderid;
    }

    public void setTraderid(Long traderid) {
        this.traderid = traderid;
    }

    @Column(name = "MOBILE", nullable = false, length = 50)
    public String getMobile() {
        return this.mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    @Column(name = "ISVALID", nullable = false, length = 1)
    public String getIsvalid() {
        return this.isvalid;
    }

    public void setIsvalid(String isvalid) {
        this.isvalid = isvalid;
    }

    @Column(name = "OPERATOR", scale = 0)
    public Long getOperator() {
        return this.operator;
    }

    public void setOperator(Long operator) {
        this.operator = operator;
    }

    @Column(name = "CERTNO", length = 30)
    public String getCertno() {
        return this.certno;
    }

    public void setCertno(String certno) {
        this.certno = certno;
    }

    @Column(name = "EMAIL", length = 250)
    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Column(name = "LASTLOGIN", length = 7)
    public Date getLastlogin() {
        return this.lastlogin;
    }

    public void setLastlogin(Date lastlogin) {
        this.lastlogin = lastlogin;
    }

    @Column(name = "IPLIMIT", length = 50)
    public String getIplimit() {
        return this.iplimit;
    }

    public void setIplimit(String iplimit) {
        this.iplimit = iplimit;
    }

    @Column(name = "REGSOURCE", nullable = false, length = 10)
    public String getRegsource() {
        return this.regsource;
    }

    public void setRegsource(String regsource) {
        this.regsource = regsource;
    }

    @Column(name = "TRADERNAME", length = 150)
    public String getTradername() {
        return this.tradername;
    }

    public void setTradername(String tradername) {
        this.tradername = tradername;
    }

    @Column(name = "REGIONCODE", length = 20)
    public String getRegioncode() {
        return this.regioncode;
    }

    public void setRegioncode(String regioncode) {
        this.regioncode = regioncode;
    }

    @Column(name = "ROLENAME", length = 50)
    public String getRolename() {
        return this.rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public String getTradertypeid() {
        return tradertypeid;
    }

    public void setTradertypeid(String tradertypeid) {
        this.tradertypeid = tradertypeid;
    }

    @Column(name = "REGTIME", nullable = false, length = 7)
    public Date getRegtime() {
        return this.regtime;
    }

    public void setRegtime(Date regtime) {
        this.regtime = regtime;
    }

    public String getIndustryid() {
        return industryid;
    }

    public void setIndustryid(String industryid) {
        this.industryid = industryid;
    }

    public String getUsertype() {
        return usertype;
    }

    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }

    public String getUserverifystatus() {
        return userverifystatus;
    }

    public void setUserverifystatus(String userverifystatus) {
        this.userverifystatus = userverifystatus;
    }

    public String getTradecode() {
        return tradecode;
    }

    public void setTradecode(String tradecode) {
        this.tradecode = tradecode;
    }

    @Column(name = "OPENID", length = 50)
    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

}